package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TClinicDepartmentMapper;
import com.hu.zhcc.shiro.entity.lgx.TClinicDepartment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TClinicDepartmentServiceImpl implements TClinicDepartmentService {
    @Autowired
    TClinicDepartmentMapper tClinicDepartmentMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tClinicDepartmentMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TClinicDepartment record) {
        return tClinicDepartmentMapper.insert(record);
    }

    @Override
    public int insertSelective(TClinicDepartment record) {
        return tClinicDepartmentMapper.insertSelective(record);
    }

    @Override
    public TClinicDepartment selectByPrimaryKey(Integer id) {
        return tClinicDepartmentMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TClinicDepartment record) {
        return tClinicDepartmentMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TClinicDepartment record) {
        return tClinicDepartmentMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<TClinicDepartment> tclinicDepartmentList() {
        return tClinicDepartmentMapper.tclinicDepartmentList();
    }
}
